package bmatch.tech.todo.resource;

import org.springframework.stereotype.Component;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

/**
 * @program:todo
 * @author:LinJinhao
 * @create:2019-01-23 17:44
 **/

@Component
@Path("/main")
public class MainResource {

	/**
	*   主页面
	**/
	@GET
	@Path("/get_user")
	@Produces(MediaType.TEXT_PLAIN)
	public String getInformation(){
		return "Welcome the World！";
	}
}
